﻿@model online_magazine1.Models.Article

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Article</legend>

    <div class="display-label">AuthorId: @Html.DisplayFor(model => model.AuthorId)</div>
    <div></div>
    <div class="display-label">Theme: @Html.DisplayFor(model => model.Theme.ThemeName)</div>
    <div></div>
    <div class="display-label">DateCreated: @Html.DisplayFor(model => model.DateCreated)</div>
    <div></div>
    <div class="display-label">Title: @Html.DisplayFor(model => model.Title)</div>
    <div></div>
    <div class="display-label">Description: @Html.DisplayFor(model => model.Description)</div>

</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
